package com.ruoyi.slope.warning.threshold.mapper;

import java.util.List;
import com.ruoyi.slope.warning.threshold.domain.SlopeWarningThreshold;
import org.apache.ibatis.annotations.Mapper;

/**
 * 预警阈值Mapper接口
 * 
 * @author psy
 * @date 2025-04-27
 */
@Mapper
public interface SlopeWarningThresholdMapper 
{
    /**
     * 查询预警阈值
     * 
     * @param id 预警阈值主键
     * @return 预警阈值
     */
    public SlopeWarningThreshold selectSlopeWarningThresholdById(Long id);

    /**
     * 查询预警阈值列表
     * 
     * @param slopeWarningThreshold 预警阈值
     * @return 预警阈值集合
     */
    public List<SlopeWarningThreshold> selectSlopeWarningThresholdList(SlopeWarningThreshold slopeWarningThreshold);

    /**
     * 新增预警阈值
     * 
     * @param slopeWarningThreshold 预警阈值
     * @return 结果
     */
    public int insertSlopeWarningThreshold(SlopeWarningThreshold slopeWarningThreshold);

    /**
     * 修改预警阈值
     * 
     * @param slopeWarningThreshold 预警阈值
     * @return 结果
     */
    public int updateSlopeWarningThreshold(SlopeWarningThreshold slopeWarningThreshold);

    /**
     * 删除预警阈值
     * 
     * @param id 预警阈值主键
     * @return 结果
     */
    public int deleteSlopeWarningThresholdById(Long id);

    /**
     * 批量删除预警阈值
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteSlopeWarningThresholdByIds(Long[] ids);
}
